package com.roadjava.demo03;

import com.roadjava.demo03.bean.UserInfo3;
import com.roadjava.demo03.util.ValidationUtil3;

import java.util.List;

public class ValidationTest3 {
    public static void main(String[] args) {
        UserInfo3 userInfo1 = new UserInfo3();
        userInfo1.setName("");
        userInfo1.setAge(10);

        List<String> list1 = ValidationUtil3.valid(userInfo1);
        System.out.println(list1);
    }

}